package org.dromara.tearoom.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.tearoom.domain.TerGroupBuy;
import org.dromara.tearoom.domain.vo.TerGroupBuyTotalVo;
import org.dromara.tearoom.domain.vo.TerGroupBuyVo;

import java.util.Date;
import java.util.List;

/**
 * 团购核销Mapper接口
 *
 * @author ckj
 * @date 2025-05-08
 */
public interface TerGroupBuyMapper extends BaseMapperPlus<TerGroupBuy, TerGroupBuyVo> {
    /**
     * 统计数据根据日期
     * @return
     */
    List<TerGroupBuyTotalVo> totalDataByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime);

}
